package com.vhall.component.entity.audit.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * BaseAuditRequestVO-
 *
 * @author xing.wang
 * @date 2023/8/10
 */
@Data
public class BaseAuditRequestVO implements Serializable {
    /**
     * 审核状态
     * 审核状态: 0|待审核,-1|审核驳回,1|审核通过,9|
     * <p>
     * {@link RoomAuditStatusEnum}
     */
    @NotNull(message = "进行审核时,审核状态不能为空")
    @ParamName(value = "audit_status")
    @JsonProperty(value = "audit_status")
    private Integer auditStatus;
    /**
     * 审核备注
     * 审核备注不能超过100个字符
     */
    @ParamName(value = "audit_note")
    @JsonProperty(value = "audit_note")
    @Size(max = 100, message = "审核备注不能超过100个字")
    private String auditNote;
}
